/* @import "variables";
@import "bootstrap";
@import "cf-context";
@import "options-table";

.cfdoc-links {
  @include media-breakpoint-up(md) {
      display: block !important;
  }
} */


@import "variables";
@import "bootstrap";
@import "code";
@import "highlight";
@import "cf-context";
@import "options-table";
@import "codepen";
@import "anchor";
@import "clipboard";
@import "inbox";


.btn-cfddoc-yellow {
	color: yellow;

	&:hover {
		color: white;
	}
}

.bg-dark {
  background: #262626 !important;
}

.cfdoc-toc {

	@supports (position: sticky) {
	  position: sticky;
	  top: 4rem;
	  max-height: calc(94vh - 4rem);
	  overflow-y: auto;
	}
	// order: 2;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	font-size: .875rem;

	ul {
		list-style-type: none;
		padding-left: 1rem;

		&.section-nav {
			border-left: 1px solid #eee;
		}

		li.toc-entry {
			padding-bottom: .125rem;
		}
	}

	.toc-entry a {
		color: #999;
		// padding: .125rem 1.5rem;
	}
}

//
// Main navbar
//

.cfdoc-navbar {
  min-height: 4rem;
  background-color: #222;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);

  .navbar-brand {
  	color: white;
  }

  @include media-breakpoint-down(md) {
    padding-right: .5rem;
    padding-left: .5rem;

    .navbar-nav-scroll {
      max-width: 100%;
      height: 2.5rem;
      margin-top: .25rem;
      overflow: hidden;
      font-size: .875rem;

      .navbar-nav {
        padding-bottom: 2rem;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
      }
    }
  }

  @include media-breakpoint-up(md) {
    
  }

  .navbar-nav {
    .nav-link {
      padding-right: .5rem;
      padding-left: .5rem;
      color: #bdbdbd;

      &.active,
      &:hover {
        color: #fff;
        background-color: transparent;
      }

      &.active {
        font-weight: 500;
      }
    }
  }

  .dropdown-menu {
    font-size: .875rem;
  }
}
/* */